package com.detroitchow2.util;

import java.util.Calendar;

import android.util.Log;

public class LogUtil
{

  private static final String LOG_CODE="DetroitChow";
  private static final String LOG_CODE2="DetroitChowTimer";
  private static final boolean isOn=false;
  public static void log(String method, String s){
    if(isOn)
      Log.d(LOG_CODE, method + " content: " + s);
  }
  
  
  public static void logTimer(String method, Calendar c){
     if(isOn)
       Log.d(LOG_CODE2, method + " timer hour: " + c.get(Calendar.HOUR) + " minute: "  + c.get(Calendar.MINUTE) + " second: " + c.get(Calendar.SECOND));
  }
}
